Repository navigation
[PWGLF] Use daughter four-momentum sums for MC truth rapidity and energy in the resonance framework - #19123
Merged
Conversation
|
O2 linter results: ❌ 0 errors, |
mjkim525
marked this pull request as ready for review
December 4, 2026 16:22
mjkim525
requested review from
alibuild,
dmallick2,
mpuccio,
omvazque,
prottayCMT,
skundu692 and
smaff92
as code owners
December 4, 2026 16:22
dmallick2
approved these changes
Dec 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This update removes a rapidity-selection bias associated with variations in the generated resonance mass due to its natural width.
Details
In both GPMC and injected MC, resonances are generated with their physical natural widths, resulting in event-by-event variations in their masses. However, the current O2Physics getter calculates rapidity using a fixed mother-particle mass from the PDG. As a result, the rapidity selection does not account for the generated invariant mass at decay.
To address this, the framework uses the sum of the truth-level daughter four-momenta provided in the table to obtain the mother particle’s energy and rapidity, taking its invariant mass at decay into account.
The attached material compares the results obtained using the mother-particle mass (left) with those obtained using the daughter four-momentum sum (right) for charged Xi(1820) in each injected MC sample.